#!/usr/bin/env python
# This is question 3.31.
# Baolin Jing (271965)
# csse login: bjing

saying = ['After', 'all', 'is', 'said', 'and', 'done', ',', 'more', 'is', 
	   'said', 'than', 'done', '.']

lengths = []

# get the length of each word and append them to the lengths list
for word in saying:
	length = len(word)
	lengths.append(length)

# here is the display of our work
print 'saying = ', 
print saying
print 'lengths = ', 
print lengths


############

print 'saying =', saying
print 'lengths =', [len(w) for w in saying]

############
